<useTPL id="form_{$_D['field']}" formtype="{$_D['formtype']}" field="{$_D['field']}" value="${$_D['field']}" name="{$_D['name']}">
    <!--文本-->
    <setType name="允许上传的文件类型">
        <setVal id="['setting']['upload_allowext']">{$_D['setting']['upload_allowext']}</setVal>
    </setType>
    <setType name="允许同时上传的个数">
        <setVal id="['setting']['upload_number']">{$_D['setting']['upload_number']}</setVal>
    </setType>
    <!--单选框,下拉-->
    <setType name="是否从已上传中选择">
        <setVal id="['setting']['isselectfile']" name="{:L('setting[isselectfile]_'.$_D['setting']['isselectfile'])}">{$_D['setting']['isselectfile']}</setVal>
    </setType>
    <setType name="文件链接方式">
        <setVal id="['setting']['downloadlink']" name="{:L('setting[downloadlink]_'.$_D['setting']['downloadlink'])}">{$_D['setting']['downloadlink']}</setVal>
    </setType>
    <setType name="文件下载方式">
        <setVal id="['setting']['downloadtype']" name="{:L('setting[downloadtype]_'.$_D['setting']['downloadtype'])}">{$_D['setting']['downloadtype']}</setVal>
    </setType>
    <include file="$tpl_common_default" />
</useTPL>
<include file="$tpl_common_show" />